<template>
	<view class="userfunclist">
		<view class="one">
			<view class="one-top">
				我的订单
			</view>
			<view class="one-bottom">
				<view class="list" v-for="(item, index) in top_list" :key="index" hover-class="unlist">
					<image v-if="item.icon":src="item.icon" mode="" class="icon1"></image>
					<view class="text">
						{{ item.name }}
					</view>
				</view>
			</view>
		</view>
		<view class=".two">
			<view class=".two-top">
				<text>我的自习时长</text>
			</view>
			<view class=".two-bottom">
				<view class="text">
					<view class="time">{{timelong}}小时</view>
					<view class="praise">自习赚奖励</view>
				</view>
				<image src="" mode="" class="icon"></image>
			</view>
			
		</view>
		<view class="outlog">
			<text>退出登录</text>
		</view>
	</view>

</template>

<script>
	export default {
		data() {
			return {
				top_list: [
					{
						icon: "",
						name: '待付款'
					},
					{
						icon: "",
						name: '待自习'
					},
					{
						icon: "",
						name: '待评价'
					},
					{
						icon: "",
						name: '退款/售后'
					}
				],
				timelong:100,
			};
		}
	}
</script>

<style lang="scss" scoped>
.userfunclist {
	width: 700rpx;
	box-sizing: border-box;
}

.one, .two {
	padding: 40rpx 30rpx;
	border-radius: 25rpx;
	background-color: #FFFFFF;
	margin-bottom: 40rpx;
	.one-top {
		font-size: 35rpx;
		font-weight: 600;
	}
	.one-bottom {
		text-align: center;
		padding: 30rpx 0 20rpx;
		display: flex;
		justify-content: space-around;
		.list {
			.icon1 {
				width: 60rpx;
				height: 60rpx;
			}
			.text {
				margin-top: 10rpx;
				font-size: 28rpx;
				color: #000;
			}
		}
	}
}
.two {
	padding: 40rpx 30rpx;
	display: flex;
	flex-direction: column;
	.two-top {
		display: flex;
		font-size: 35rpx;
		font-weight: bold;
	}
	.two-bottom {
		display: flex;
		flex-direction: row;
		.text{
			display: flex;
			flex-direction: column;
			flex-wrap: wrap;
			align-items: center;
			text-align: center;
			margin-left: 35%;
			.time{
				font-weight: bold;
				color: #ce8900;
			}
			.praise{
				font-size: 30rpx;
				color: #ce8900;
			}
		}
		.icon{
			width: 100rpx;
			height: 100rpx;
			margin-left: 10%;
		}
		
	}
}

.unlist {
	.text {
		color: skyblue !important;
	}
}
.outlog{
	background-color: #FFFFFF;
	color: #ff0000;
	font-size: 38rpx;
	display: flex;
	flex-direction: row;
	justify-content: center;
	align-items: center;
	margin-top: 20rpx;
	border-radius: 18rpx;
	height: 70rpx;
}
</style>
